﻿using CraftParameterConfig.Services.Interfaces;
using CraftParameterConfig.Services.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CraftParameterConfig.Services.Data
{
    public class LogInfo : ILogInfo
    {
        public void SaveLog(LogDTO logDto)
        {
            string message = String.Format("您执行了一次等级为:{0}的操作,此次操作的关键字为:{1},操作变更为:{2}", logDto.LogType.ToString(), logDto.KeyWord, logDto.Message);
            MessageBox.Show(message);
        }
    }
}
